#include "serialportsqlhelper.h"

SerialportSqlHelper::SerialportSqlHelper()
{
    db = new SerialportSqldb();
}

SerialportSqlHelper::~SerialportSqlHelper()
{
    if(db!= nullptr){
        db->closeSql();
        delete db;
    }
}
